package com.baturu.vin.dfpv.dal.dao;

import com.baturu.vin.dfpv.dto.DfpvSubGroupDTO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author: chenjiahao
 * @Time: 2018/8/30
 */
public interface DfpvSubGroupDAO {

    @Select({"SELECT id sid, code, enName, mainid mainId, name, path picPath",
            "FROM dfpv_subgroups",
            "WHERE mid = #{mid}",
    })
    List<DfpvSubGroupDTO> querySubGroupByMid(@Param("mid") String mid);
}
